﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Exam.infranstuctrue.Dto.Respones.Exam
{
    /// <summary>
    /// 自己排名
    /// </summary>
    public class RankingRes
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public string? id { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string? name { get; set; }
        /// <summary>
        /// 排名
        /// </summary>
        public int? ranking { get; set; }
        /// <summary>
        /// 总分
        /// </summary>
        public float? score { get; set; }
        /// <summary>
        /// 用时
        /// </summary>
        public double? consume { get; set; }
        /// <summary>
        /// 总排名列表
        /// </summary>
        public List<RankingResChilren> chilern { get; set; }
    }
    /// <summary>
    /// 总排名列表
    /// </summary>
    public class RankingResChilren
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public string? OtherID { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string? Othername { get; set; }
        /// <summary>
        /// 总分
        /// </summary>
        public float? Otherscore { get; set; }
        /// <summary>
        /// 用时
        /// </summary>
        public double? Otherconsume { get; set; }
    }
}
